lcDrwAddBlock Home

Adds a new block into a drawing.

 HANDLE lcDrwAddBlock (
   HANDLE hDrw,
   LPCWSTR szName,
   double X,
   double Y
 );

Parameters
hDrw
  Handle to a drawing object.
szName
  Block name. Must be different from exist blocks.
X Y
  Coordinates of the base point of the block.

Return Value

  Handle to a new block.
If the function fails, the return value is NULL.

See Also

  Block reference,   lcBlockAddBlockRef